package com.mindcraft.chat.client;

import com.mindcraft.shop.po.SkuInfo;
import com.mindcraft.user.po.McUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "shop-api")
public interface ShopClient {


    @GetMapping("/api/shop/home/getSkuById")
    public SkuInfo getSkuInfoById(@RequestParam("skuId")Integer skuId);

}